﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CADISDataSet6" targetNamespace="http://tempuri.org/CADISDataSet6.xsd" xmlns:mstns="http://tempuri.org/CADISDataSet6.xsd" xmlns="http://tempuri.org/CADISDataSet6.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="CADISConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CADISConnectionString1 (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.JLD004_Interface_M3_Cadis.My.MySettings.GlobalReference.Default.CADISConnectionString1" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="F0004TableAdapter" GeneratorDataComponentClassName="F0004TableAdapter" Name="F0004" UserDataComponentName="F0004TableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CADISConnectionString1 (MySettings)" DbObjectName="CADIS.dbo.F0004" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [F0004] WHERE (([ID] = @Original_ID) AND ((@IsNull_DSC1 = 1 AND [DSC1] IS NULL) OR ([DSC1] = @Original_DSC1)) AND ((@IsNull_USR1 = 1 AND [USR1] IS NULL) OR ([USR1] = @Original_USR1)) AND ((@IsNull_TimeDate = 1 AND [TimeDate] IS NULL) OR ([TimeDate] = @Original_TimeDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DSC1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DSC1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DSC1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DSC1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_USR1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="USR1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_USR1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="USR1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TimeDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TimeDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_TimeDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="TimeDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [F0004] ([ID], [DSC1], [USR1], [TimeDate]) VALUES (@ID, @DSC1, @USR1, @TimeDate);
SELECT ID, DSC1, USR1, TimeDate FROM F0004 WHERE (ID = @ID) ORDER BY TimeDate DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DSC1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DSC1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@USR1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="USR1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@TimeDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="TimeDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        ID, DSC1, USR1, TimeDate
FROM            F0004
ORDER BY TimeDate DESC</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [F0004] SET [ID] = @ID, [DSC1] = @DSC1, [USR1] = @USR1, [TimeDate] = @TimeDate WHERE (([ID] = @Original_ID) AND ((@IsNull_DSC1 = 1 AND [DSC1] IS NULL) OR ([DSC1] = @Original_DSC1)) AND ((@IsNull_USR1 = 1 AND [USR1] IS NULL) OR ([USR1] = @Original_USR1)) AND ((@IsNull_TimeDate = 1 AND [TimeDate] IS NULL) OR ([TimeDate] = @Original_TimeDate)));
SELECT ID, DSC1, USR1, TimeDate FROM F0004 WHERE (ID = @ID) ORDER BY TimeDate DESC</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@DSC1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DSC1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@USR1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="USR1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@TimeDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="TimeDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ID" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DSC1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DSC1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_DSC1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="DSC1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_USR1" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="USR1" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_USR1" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="USR1" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TimeDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TimeDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_TimeDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="TimeDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="DSC1" DataSetColumn="DSC1" />
              <Mapping SourceColumn="USR1" DataSetColumn="USR1" />
              <Mapping SourceColumn="TimeDate" DataSetColumn="TimeDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CADISDataSet6" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="CADISDataSet6" msprop:Generator_UserDSName="CADISDataSet6">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="F0004" msprop:Generator_TableClassName="F0004DataTable" msprop:Generator_TableVarName="tableF0004" msprop:Generator_TablePropName="F0004" msprop:Generator_RowDeletingName="F0004RowDeleting" msprop:Generator_UserTableName="F0004" msprop:Generator_RowChangingName="F0004RowChanging" msprop:Generator_RowEvHandlerName="F0004RowChangeEventHandler" msprop:Generator_RowDeletedName="F0004RowDeleted" msprop:Generator_RowEvArgName="F0004RowChangeEvent" msprop:Generator_RowChangedName="F0004RowChanged" msprop:Generator_RowClassName="F0004Row">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" msprop:Generator_UserColumnName="ID">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DSC1" msprop:Generator_ColumnVarNameInTable="columnDSC1" msprop:Generator_ColumnPropNameInRow="DSC1" msprop:Generator_ColumnPropNameInTable="DSC1Column" msprop:Generator_UserColumnName="DSC1" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="512" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="USR1" msprop:Generator_ColumnVarNameInTable="columnUSR1" msprop:Generator_ColumnPropNameInRow="USR1" msprop:Generator_ColumnPropNameInTable="USR1Column" msprop:Generator_UserColumnName="USR1" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="TimeDate" msprop:Generator_ColumnVarNameInTable="columnTimeDate" msprop:Generator_ColumnPropNameInRow="TimeDate" msprop:Generator_ColumnPropNameInTable="TimeDateColumn" msprop:Generator_UserColumnName="TimeDate" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:F0004" />
      <xs:field xpath="mstns:ID" />
    </xs:unique>
  </xs:element>
</xs:schema>